#ifndef __ELASTIC_H
#define __ELASTIC_H

#include <stdbool.h>
typedef struct _material Material;

struct _elastic
{
    double E;
    double u;
    double K;
    double G;
};

// stiffness matrix for elastic model
// (in)m: Material parameter, only elastic.
// moreinfor: calulate K and G.
// (out)a[6][6]: Elastic Stiffness Matrix
bool MatrixD_R2D(Material *m, double a[MATRIX_SIZE][MATRIX_SIZE]);

#endif